package com.pth.service.impl;

import com.pth.dao.UserDao;
import com.pth.service.intf.UserService;
import com.tph.vo.R;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName UserServiceImpl
 * @Description TODO
 * @Author LiHao
 * @Date 2023/1/9 16:07
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao dao;

    @Override
    public R queryAll() {
        return R.ok(dao.selectList(null));
    }
}
